package org.example.Server.utils;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.example.Server.model.home.NewReplyVO;

import java.io.Serializable;
import java.util.List;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class PageResult implements Serializable {

    private Long page_cnt;
    private List<Object> postList;

    public PageResult(long total, List record) {
        this.page_cnt = total;
        this.postList = record;
    }
}
